<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<div id="app">
			<p>{{num}}</p>
			<p>{{person.name}}</p>
		</div>

		<script src="./js/mvvm.js"></script>
		<script src="./js/compile.js"></script>
		<script src="./js/observer.js"></script>
		<script src="./js/watcher.js"></script>

		<script>
			debugger;
			new MVVM({
				el: "#app",
				data: {
					num: 0,
					person: {
						name: "jack",
					},
				},
			});
		</script>
	</body>
</html>
